
	<form method="post" name="frm_SelTown" onSubmit="return false;" action="{$apm.baseurl}rstobi/rstobi">
		{if $block_title}<h2 class="searchTitle">{$block_title}</h2>{/if}
		{if $block_text}<p class="txt02">{$block_text}</p>{/if}
		<p class="searchAttTxt01">※10ヵ所まで選択できます。</p>

		<!-- selectCategoryAnchor -->
		<div id="selectCategoryAnchor">
		<!-- innerBlock -->
			<div class="innerBlock01">
				<div class="innerBlock02">
					<ul>
						{foreach from=$Mapping item=v name="sikuLoop"}
							<li><a href="#area{$smarty.foreach.sikuLoop.iteration}">{$v.SHIKUCHOUSON_NAME}</a></li>
						{/foreach}
					</ul>
				</div>
			</div>
		<!-- /innerBlock -->
		</div>
		<!-- /selectCategoryAnchor -->
		{foreach from=$Mapping item=v name="sikuLoop"}
		<!-- selectDetailBlock01 -->
		<div class="selectDetailBlock01" id="area{$smarty.foreach.sikuLoop.iteration}">
			<p class="title">{$v.SHIKUCHOUSON_NAME}{if $v.SHIKUCHOUSON_HEYA_CNT > 0 && not $CityMore}（{$v.SHIKUCHOUSON_HEYA_CNT}件）{/if}</p>
			<!-- innerBlock01 -->
			<div  class="innerBlock01">
				<!-- innerBlock02 -->
				<div  class="innerBlock02">
				{assign var="cnt" value=$v.TOWN_DATA|@count}
				{foreach from=$v.TOWN_DATA item=town name="townLoop"}
					{if $smarty.foreach.townLoop.iteration % 3 == 1}
						{if $smarty.foreach.townLoop.iteration+3 > $cnt && not $paging }
						<ul class="last">
						{else}
						<ul>
						{/if}
					{/if}
						<li>
						{*<!--{if $town.STATIC_URL == ""}<label>{/if}-->*}
							<input name="TownCd[]"
							       type="checkbox"
							       id="selectTown{$town.CHOUMEI_CD}"
							       value="{$town.CHOUMEI_CD}"
							       {if $town.REC_CNT == 0}disabled{/if}
								   {foreach from=$research_data.ReTownCd key="key" item="retowncd" name="loopName"}
								       {if $retowncd == $town.CHOUMEI_CD}
								       checked
								       {/if}
								   {/foreach}
							       />
						{*<!--{if $town.STATIC_URL != "" && $town.REC_CNT != 0}<a href="{$apm.baseurl}{$town.STATIC_URL}">{/if}-->*}
						{if $town.REC_CNT != 0}{if $town.STATIC_URL == ""}<a href="javascript:SelCyo_Link('{$town.CHOUMEI_CD}');">{else}<a href="{$town.STATIC_URL}">{/if}{/if}
							{$town.CHOUMEI}{if $town.REC_CNT > 0 && not $CityMore}({$town.REC_CNT}件){/if}
						{if $town.REC_CNT != 0}</a>{/if}
						{*<!--{if $town.STATIC_URL == ""}</label>{else if $town.REC_CNT != 0}</a>{/if}-->*}
						</li>
					{if $smarty.foreach.townLoop.iteration % 3 == 0 || $smarty.foreach.townLoop.last}
					</ul>
					{/if}
				{/foreach}
				{if $paging }
					<ul class="last">
						<li></li>
						<li class="nextback">
						{if $paging.page_before }<a href="{$paging.page_before}">{/if}
							<img width="12" height="12" alt="前へ" src="http://www.apamanshop.com/images/search/common/icon_arrow_04.gif">
						{if $paging.page_before }</a>{/if}
						{foreach from=$paging.page item=page name=pageLoop}
							 {if $page.url != "" }<a href="{$page.url}" style="cursor: pointer;">{/if}{$page.page}{if $page.url != "" }</a>{/if}
						{/foreach}
						{if $paging.page_next }<a href="{$paging.page_next}">{/if}
							<img width="12" height="12" alt="次へ" src="http://www.apamanshop.com/images/search/common/icon_arrow_05.gif">
						{if $paging.page_next }</a>{/if}
						</li>
						<li></li>
					</ul>
				{/if}
				</div>
				<!-- /innerBlock02 -->
			</div>
			<!-- /innerBlock01 -->
		</div>
		<!-- /selectDetailBlock01 -->
		{/foreach}

		<!-- searchToResult -->
		<div id="searchToResult">
			<!-- innerBlock01 -->
			<div class="innerBlock01">
				<div class="innerBlock02">
					<div class="innerBlock03">
						<dl>
							<dt>検索結果表示：</dt>
							<dd>
								<ul>
								
								{*
									<li>
										<label>
										<input name="dispCount" type="radio" id="radio" value="20" checked="checked" />
											20件ずつ</label>
									</li>
									<li>
										<label>
										<input type="radio" name="dispCount" id="radio2" value="40" />
											40件ずつ</label>
									</li>
									<li class="last">
										<label>
										<input type="radio" name="dispCount" id="radio3" value="60" />
											60件ずつ</label>
									</li>
								*}
								
									{* 2010/12/28 10件毎表示対応 *}
									<li>
										<label>
										<input name="dispCount" type="radio" id="radio" value="10" checked="checked" />
											10件ずつ</label>
									</li>
									<li>
										<label>
										<input type="radio" name="dispCount" id="radio2" value="20" />
											20件ずつ</label>
									</li>
									<li class="last">
										<label>
										<input type="radio" name="dispCount" id="radio3" value="30" />
											30件ずつ</label>
									</li>
									
								</ul>
							</dd>
						</dl>
						<p class="btn">
							<input name="imageField" type="image" class="rollImg" id="imageField" src="/images/search/common/btn_search.gif" alt="検索" onclick="SelCyo()" />
						</p>
					</div>
				</div>
			</div>
			<!-- /innerBlock01 -->
		</div>
		<!-- /searchToResult -->


		<div id="hiddenval">
		{$hiddenTag}
		</div>
	</form>
